<template>
  <router-view />
  <play-controller />
</template>
<script>
  import playController from '@/components/playController.vue';
  export default {
    components:{
      playController
    },
    mounted() {
      let userData = localStorage.userData;
      if(userData){
        this.$store.commit('setUser',JSON.parse(userData));
      }
    },
  }
</script>

<style lang="less">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑";
}
a {
  color: #333;
  text-decoration: none;
}
.icon {
  width: 0.3rem;
  height: 0.3rem;
  fill: currentColor;
  overflow: hidden;
}
</style>
